import { S } from '../../s';
import { IPSSysPanelUserControl } from './ipssys-panel-user-control';
import { PSSysPanelItemImpl } from './pssys-panel-item-impl';

export class PSSysPanelUserControlImpl
  extends PSSysPanelItemImpl
  implements IPSSysPanelUserControl
{
  get ctrlParams(): IModel {
    return this.M.ctrlParams;
  }

  get predefinedType(): string {
    return this.M.predefinedType;
  }
  get cls(): string {
    return 'PSSysPanelUserControlImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._194 || cls == S._195) return true;
    return super.instanceof(cls);
  }
}
